package cn.iocoder.yudao.module.project.tcp;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.tio.core.intf.Packet;

/**
 * @author 消息载体
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class HelloPacket extends Packet {
    private static final long serialVersionUID = -172060606924066412L;
    //消息头的长度
    public static final int HEADER_LENGHT = 4;
    //编码
    public static final String CHARSET = "utf-8";
    //消息
    private byte[] body;
}